* {
    margin: 0;
    padding: 0;
}

/* 首页 */
#header {
    width: 1500px;
    height: 100px;
    margin: auto;
}

#header .logo {
    float: left;
    width: 350px;
    height: 100px;
}

#header .logo a {
    display: inline-block;
    width: 300px;
    height: 80px;
    margin-top: 20px;
    margin-left: 120px;
    background-image: url(http://8.141.12.238:8083/comm_image/logo.png);
    background-repeat: no-repeat;
    background-size: 100%;
}

#header .search {
    float: left;
    width: 820px;
    height: 100px;
}

#header .search .search-box {
    width: 500px;
    height: 80px;
    margin: 10px auto;
}

#header .search .search-box .input-box {
    float: left;
    width: 450px;
    height: 60px;
    margin: 10px 0;
}

#header .search .search-box .input-box input {
    display: inline-block;
    width: 440px;
    height: 30px;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-right: 10px;
}

#header .search .search-box .input-img {
    float: left;
    width: 30px;
    height: 30px;
    margin: 26px 0;
    margin-left: 10px;

}

#header .search .search-box .input-img input {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 10px;
    background-image: url(http://8.141.12.238:8083/comm_image/search.png);
    background-size: 30px 30px;
    background-repeat: no-repeat;
}

#header .log {
    float: left;
    width: 98px;
    height: 38px;
    margin: 30px 0;
    text-align: center;
    line-height: 40px;
    border: 1px solid black;
}

#header .log:hover {
    background-color: #a6a6a6;
}

#header .log a {
    display: inline-block;
    width: 99.6px;
    height: 39.6px;
    color: #a6a6a6;
    text-decoration: none;
    font-size: 18px;
    text-align: center;
}

#header .log a:hover {
    color: #232222;
}

/* 导航栏 */
#navbar {
    height: 40px;
    background: #3e3d43;
}

#navbar .nav {
    width: 1260px;
    height: 40px;
    margin: auto;
}

#navbar .nav .item {
    float: left;
    font-size: 19px;
    width: 120px;
    height: 40px;
    margin: 0 50px;
    list-style-type: none;
}

#navbar .nav .item a {
    display: inline-block;
    width: 120px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: white;
    text-decoration: none;
}

#navbar .nav .item a:hover {
    background-color: #d72929;
}

#navbar .nav .item.all-work a {
    background-color: #d72929;
}

#navbar .nav .item.classify {
    color: white;
    width: 270px;
    margin-left: 0;
    margin-right: 100px;
    text-align: center;
    line-height: 40px;
    background-color: #313035;
}

#container {
    width: 1260px;
    height: 2000px;
    margin: auto;
}

#container .classify {
    float: left;
    width: 270px;
    height: 574px;
    margin-right: 30px;
}

#container .classify dl {
    width: 270px;
    height: 574px;
}

#container .classify dd {
    float: left;
    width: 70px;
    height: 32px;
    margin: 20px 10px;
    background-color: rgb(243, 239, 230);
    border-radius: 8px;
}

#container .classify dd a {
    display: inline-block;
    width: 70px;
    height: 32px;
    text-align: center;
    font-size: 14px;
    line-height: 32px;
    text-decoration: none;
    color: rgb(49, 49, 48);
    border-radius: 8px;
}

#container .classify dd a:hover {
    color: #d72929;
    background-color: #fcfcfa;
}

#container .classify dd a.selected {
    background-color: rgb(242, 205, 119);
}

#container .books {
    float: left;
    width: 960px;
    height: 2000px;
}

#container .books ul {
    width: 960px;
    height: 1900px;
}

#container .books li {
    float: left;
    width: 460px;
    margin: 10px 20px;
    margin-left: 0;
    height: 166.67px;
    list-style-type: none;
}


#container .books .book-intro {
    width: 460px;
    height: 166.33px;
}

#container .books .book-intro .img {
    float: left;
    width: 120px;
    height: 155.33px;
}

#container .books .book-intro .img img {
    width: 120px;
    height: 155.33px;
}

#container .books .book-intro .info {
    float: left;
    width: 330px;
    margin-left: 10px;
    height: 153.33px;
}

#container .books .book-intro .info .title {
    width: 330px;
    height: 30px;
    /* margin-bottom: 10px; */
    overflow: hidden;
}

#container .books .book-intro .info .title a {
    font-size: 22px;
    text-decoration: none;
    color: black;
}

#container .books .book-intro .info .title a:hover {
    color: #d72929;
}


#container .books .book-intro .info .intro {
    width: 330px;
    height: 56px;
    font-size: 14px;
    margin: 10px 0;
    color: #666666;
    overflow: hidden;
}

#container .books .book-intro .info .author {
    width: 330px;
    height: 30px;
    line-height: 35px;
}

#container .books .book-intro .info .author a {
    font-size: 13px;
    text-decoration: none;
    color: #a6a6a6;
}

#container .books .book-intro .info .author img {
    float: left;
    width: 20px;
    height: 20px;
    margin: 10px 0px;
    margin-right: 10px;
}

#container .books .book-intro .info .author span {
    color: #a6a6a6;
}

#container .books .book-intro .info .author a:hover {
    color: #232222;
}

#container .books .book-intro .info .words {
    height: 23px;
    line-height: 23px;
    font-size: 14px;
    color: #a6a6a6;
}

#container .books .change-page {
    width: 960px;
    height: 50px;
    padding: 30px 0;
    margin: 0 120px;
}

#container .books .change-page .number-change {
    float: left;
    width: 500px;
}

#container .books .change-page .number-change a {
    text-decoration: none;
    color: #232222;
}

#container .books .change-page .number-change ul {
    width: 500px;
    height: 30px;
}

#container .books .change-page .number-change li {
    float: left;
    width: 30px;
    margin: 0px 20px;
    height: 30px;
    text-align: center;
    list-style-type: none;
}

#container .books .change-page .number-change .number:hover {
    background-color: #d72929;
}

#container .books .change-page .number-change .number a {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

#container .books .change-page .number-change .number a:hover {
    color: #fcfcfa;
}

#container .books .change-page .number-change .number a.selected {
    background-color: #d72929;
    color: #fcfcfa;
}

#container .books .change-page .number-change button {
    background: none;
    width: 20px;
    height: 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
}

#container .books .change-page .number-change button:hover {
    color: #d72929;
    border-color: #d72929;
}

#container .books .change-page .input-change {
    float: left;
    width: 120px;
    height: 32px;
}

#container .books .change-page .input-change .number-input {
    float: left;
    width: 50px;
    height: 25px;
    text-align: center;
}

#container .books .change-page .input-change .change-button {
    float: left;
    width: 40px;
    height: 28px;
    margin: 0 10px;
}